package cn.iocoder.yudao.module.erp.controller.admin.business.produce.defectiveitems.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 不良品项 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DefectiveItemsRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("id")
    @ColumnWidth(10)
    private Long id;

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("编号")
    @ColumnWidth(10)
    private String defectCode;

    @Schema(description = "不良品项", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("不良品项")
    @ColumnWidth(50)
    private String defectDescription;

    @Schema(description = "添加时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("添加时间")
    @ColumnWidth(20)
    private LocalDateTime createTime;

}